<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main"/>
    <title><g:message code="quantityCommissionPolicy.nav.create" /></title>
</head>
<body>
<div class="nav">
    <span class="menuButton"><g:link class="list" action="list"><g:message code="quantityCommissionPolicy.nav.list" /></g:link></span>
</div>
<div class="body">
    <h1><g:message code="quantityCommissionPolicy.nav.create" /></h1>
    <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
    </g:if>
    <g:hasErrors bean="${quantityCommissionPolicyInstance}">
        <div class="errors">
            <g:renderErrors bean="${quantityCommissionPolicyInstance}" as="list"/>
        </div>
    </g:hasErrors>
    <g:form action="save" method="post">
        <div class="dialog">
            <table>
                <tbody>

                <tr class="prop">
                    <td valign="top" class="name">
                        <label for="unitCommission">${message(code:'quantityCommissionPolicy.table.unitCommission')}:</label>
                    </td>
                    <td valign="top" class="value ${hasErrors(bean: quantityCommissionPolicyInstance, field: 'unitCommission', 'errors')}">
                        <input type="text" id="unitCommission" name="unitCommission" value="${fieldValue(bean: quantityCommissionPolicyInstance, field: 'unitCommission')}"/>
                    </td>
                </tr>

                <g:render template="/commissionPolicy/createEdit" model="[commissionPolicyInstance:quantityCommissionPolicyInstance]"/>

                </tbody>
            </table>
        </div>
        <div class="buttons">
            <span class="button"><input class="save" type="submit" value="${message(code:'common.button.save')}"/></span>
        </div>
    </g:form>
</div>
</body>
</html>
